-
Notifications
You must be signed in to change notification settings - Fork 45.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catch cpuinfo ImportError #4138
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the psutil import for the memory info collection.
@qlzh727 Done. |
official/utils/logs/logger.py
Outdated
run_info["machine_config"]["memory_total"] = vmem.total | ||
run_info["machine_config"]["memory_available"] = vmem.available | ||
except ImportError: | ||
tf.logging.warn("'psutil' not imported. Memort info will not be logged.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Memory"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops.
* 'master' of https://github.com/tensorflow/models: (404 commits) official/mnist: Updates with the release of TensorFlow 1.8. Internal changes to slim and object detection (tensorflow#4100) catch cpuinfo ImportError (tensorflow#4138) [samples/core/get_starter/eager]: Update with API simplifications in 1.8 Add vincentvanhoucke as owner for research/marco Add marco subdirectory to README.md Create request.json Create jpeg2json.py Fix width / height. Create README.md Add new import paths to mnist_tpu.py (tensorflow#4133) fix model call (tensorflow#4132) Remove useless fields in resnet_model (tensorflow#4110) official/mnist: Add input_shape parameter to initial layer (tensorflow#4104) (tensorflow#4118) Increase minimum TF version for DEFINE_enum and rename variable mappings for change to RNN variable names. (tensorflow#4123) fix import errors Minor update the resnet runloop. (tensorflow#4113) Two new plot-generating scripts and changes in support of the ICLR poster. (tensorflow#4092) Add export savedmodel to wide_deep (tensorflow#4041) Fix 2 typos ...
* catch cpuinfo ImportError * add psutil import catch * fix typo
No description provided.